import { Injectable } from '@angular/core';

@Injectable()
export class RootService {

  username:string='牛有福';
  constructor() { }

  set user( username:string){
  	this.username=username;
  }

  get user(){
  	return this.username;
  }

}
